<script src="WdatePicker.js"></script>

<input id="d11" type="text" onClick="WdatePicker()"/>